<?php
return [
    'version' => '20230111',
    'list' => [
        'weixin' => [
            'name' => '微信商户平台(微信官方支付)', //名称
            'code' => 'weixin', //唯一编码
            'template_file' => "",
            'setting' => [
                [
                    'name' => 'mchid',
                    'label' => '商户号',
                    'placeholder' => '请输入商户号',
                    'val' => '',
                ],
                [
                    'name' => 'apikey',
                    'label' => 'API密钥',
                    'placeholder' => 'API密钥',
                    'val' => '',
                ],
                [
                    'name' => 'apiclient_key', //也作为前端上传文件的额外参数，区分文件类型
                    'label' => 'apiclient_key',
                    'placeholder' => '请输入apiclient_key',
                    'val' => '',
                    'type' => 'file'
                ],
                [
                    'name' => 'apiclient_cert',
                    'label' => 'apiclient_cert',
                    'placeholder' => '请输入apiclient_cert',
                    'val' => '',
                    'type' => 'file'
                ],
            ]
        ],
        'swiftpass' => [
            'name' => '威富通(第三方支付)', //名称
            'code' => 'swiftpass', //唯一编码
            'template_file' => "swiftpass/swiftpass",
            'setting' => [
                [
                    'name' => 'mchid',
                    'label' => '商户编号',
                    'placeholder' => '商户编号',
                    'val' => '',
                ],
                [
                    'name' => 'md5_key',
                    'label' => 'MD5签名密钥',
                    'placeholder' => 'MD5签名密钥',
                    'val' => '',
                ],
                [
                    'name' => 'apikey_private',
                    'label' => '私钥(RSA)',
                    'placeholder' => '私钥(RSA)',
                    'val' => '',
                ],
                [
                    'name' => 'apikey_public',
                    'label' => '公钥(RSA)',
                    'placeholder' => '公钥(RSA)',
                    'val' => '',
                ],
                [
                    'name' => 'sign_type',
                    'label' => '签名方式',
                    'placeholder' => '签名方式,只能填写MD5或RSA_1_256或RSA_1_1',
                    'val' => 'MD5',
                ],
            ]
        ],
        'hsty' => [
            'name' => '汇旺财(第三方支付)', //名称
            'code' => 'hsty', //唯一编码
            'template_file' => "hsty/hsty",
            'setting' => [
                [
                    'name' => 'mchid',
                    'label' => '商户编号',
                    'placeholder' => '商户编号',
                    'val' => '',
                ],
                [
                    'name' => 'md5_key',
                    'label' => 'MD5签名密钥',
                    'placeholder' => 'MD5签名密钥',
                    'val' => '',
                ],
                [
                    'name' => 'apikey_private',
                    'label' => '私钥(RSA)',
                    'placeholder' => '私钥(RSA)',
                    'val' => '',
                ],
                [
                    'name' => 'apikey_public',
                    'label' => '公钥(RSA)',
                    'placeholder' => '公钥(RSA)',
                    'val' => '',
                ],
                [
                    'name' => 'sign_type',
                    'label' => '签名方式',
                    'placeholder' => '签名方式,只能填写MD5或RSA',
                    'val' => 'MD5',
                ],
            ]
        ],
        'huilian' => [
            'name' => '汇联支付(第三方支付)', //名称
            'code' => 'huilian', //唯一编码
            'template_file' => "huilian/huilian",
            'setting' => [
                [
                    'name' => 'appid',
                    'label' => 'appid(非本公众号)',
                    'placeholder' => '',
                    'val' => '',
                ],
                [
                    'name' => 'isv',
                    'label' => '机构号',
                    'placeholder' => '机构号',
                    'val' => '',
                ],
                [
                    'name' => 'mchid',
                    'label' => '商户号',
                    'placeholder' => '请输入商户号',
                    'val' => '',
                ],
                [
                    'name' => 'provider_type',
                    'label' => '渠道类型',
                    'placeholder' => '',
                    'val' => '',
                ],
                [
                    'name' => 'privateKey',
                    'label' => '私钥',
                    'placeholder' => '',
                    'val' => '',
                ],
                [
                    'name' => 'publicKey',
                    'label' => '公钥',
                    'placeholder' => '',
                    'val' => '',
                ],
            ]
        ],
        'huilian2' => [
            'name' => '汇联支付V2(第三方支付)', //名称
            'code' => 'huilian2', //唯一编码
            'template_file' => "huilian2/huilian2",
            'setting' => [
                [
                    'name' => 'sys_id',
                    'label' => 'sys_id',
                    'placeholder' => 'sys_id',
                    'val' => '',
                ],
                [
                    'name' => 'product_id',
                    'label' => 'product_id',
                    'placeholder' => 'product_id',
                    'val' => '',
                ],
                [
                    'name' => 'rsaPrivateKey',
                    'label' => '私钥',
                    'placeholder' => '请输入私钥',
                    'val' => '',
                ],
                [
                    'name' => 'rsaPublicKey',
                    'label' => '公钥',
                    'placeholder' => '请输入公钥',
                    'val' => '',
                ],
            ]
        ],
        'jinfu' => [
            'name' => '金服(第三方支付)', //名称
            'code' => 'jinfu', //唯一编码
            'template_file' => "jinfu/jinfu",
            'setting' => [
                [
                    'name' => 'account',
                    'label' => 'account',
                    'placeholder' => '',
                    'val' => '',
                ],
                [
                    'name' => 'key',
                    'label' => '密钥',
                    'placeholder' => '',
                    'val' => '',
                ],
            ]
        ],
        'tlhsb' => [
            'name' => '通联', //名称
            'code' => 'tlhsb', //唯一编码
            'template_file' => "tlhsb/tlhsb",
            'setting' => [
                [
                    'name' => 'appid',
                    'label' => 'appid',
                    'placeholder' => '请输入appid(支付平台的appid)',
                    'val' => '',
                ],
                [
                    'name' => 'cusid',
                    'label' => '商户号',
                    'placeholder' => '请输入商户号(支付平台的商户号)',
                    'val' => '',
                ],
                [
                    'name' => 'privateKey',
                    'label' => '私钥',
                    'placeholder' => '请输入私钥',
                    'val' => '',
                ],
                [
                    'name' => 'publicKey',
                    'label' => '公钥',
                    'placeholder' => '请输入公钥',
                    'val' => 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCm9OV6zH5DYH/ZnAVYHscEELdCNfNTHGuBv1nYYEY9FrOzE0/4kLl9f7Y9dkWHlc2ocDwbrFSm0Vqz0q2rJPxXUYBCQl5yW3jzuKSXif7q1yOwkFVtJXvuhf5WRy+1X5FOFoMvS7538No0RpnLzmNi3ktmiqmhpcY/1pmt20FHQQIDAQAB',
                ],
                [
                    'name' => 'sign_type',
                    'label' => '签名方式',
                    'placeholder' => '',
                    'val' => 'RSA',
                ],
            ]
        ],
        'lexiang' => [
            'name' => '乐享(第三方支付)', //名称
            'code' => 'lexiang', //唯一编码
            'template_file' => "lexiang/lexiang",
            'setting' => [
                [
                    'name' => 'customer_code',
                    'label' => '商户号',
                    'placeholder' => '请输入商户号',
                    'val' => '',
                ],
                [
                    'name' => 'sign_no',
                    'label' => '证书序列号',
                    'placeholder' => '请输入证书序列号,支付后台获取',
                    'val' => '',
                ],
                [
                    'name' => 'password',
                    'label' => '证书密码',
                    'placeholder' => '请输入证书密码,支付公司管理员获取',
                    'val' => '',
                ],
                [
                    'name' => 'pfxFilePath',
                    'label' => '证书存放路径',
                    'placeholder' => '请输入证书存放路径,平台技术处理(pfx后缀文件)',
                    'val' => '',
                ],
            ]
        ],
    ]

];
